<style>
#_addAction{
	width:250px;
}
#_addAction input[type=submit]{
	float:right;
}
#_addAction label{
	width:70px;
}
</style>
<div class="area" id="_addAction">
	<form action="javascript:void(0)" onsubmit="afterUgovorAddAction(this,'{{$edit}}')">
		<h2>Dodaj akciju dizajnera</h2>
		
		<label class="left" for="_editor">urednik:</label>
		<select name="_editor" id="_editor">
			{{%loop start editor_id}}
			<option value="{{$editor_id}}" {{$editor_selected}}>{{$editor_ime}}&nbsp;{{$editor_prezime}}</option>
			{{%loop end}}
		</select>
		<br clear="all" />
		
		<label class="left" for="_designer">dizajner:</label>
		<select name="_designer" id="_designer">
			{{%loop start design_id}}
			<option value="{{$design_id}}" {{$design_selected}}>{{$design_ime}}&nbsp;{{$design_prezime}}</option>
			{{%loop end}}
		</select>
		
		<br clear="all" />
		<label class="left" for="_date_out">preuzeto:</label>
		<input type="text" class="dateInput" name="_date_out" id="_date_out" value="{{$date_out}}" offsetFix="1" />
		<input type="button" class="datePicker" onclick="displayDatePicker(this.previousSibling.previousSibling.id,this)" />
		
		<br clear="all" />
		<label class="left" for="_date_in">vraćeno:</label>
		<input type="text" class="dateInput" name="_date_in" id="_date_in" value="{{$date_in}}" offsetFix="1" />
		<input type="button" class="datePicker" onclick="displayDatePicker(this.previousSibling.previousSibling.id,this)" />
		
		<br clear="all" />
		<label class="left" for="_done">Urađeno:</label>
		<input type="checkbox" name="_done" id="_done" {{$checked_done}}/>
		
		<br clear="all" />
		<label class="left" for="_designer_note">odgovor dizajnera:</label>
		<textarea name="_designer_note" id="_designer_note">{{$designer_note}}</textarea>
		
		<br clear="all">
		<label class="left" for="_napomena">napomena:</label>
		<textarea name="_napomena" id="_napomena">{{$napomena}}</textarea>
		
		<input type="submit" value="sačuvaj" class="save" />
	</form>
</div>